package com.imooc.product.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import com.imooc.product.dataobject.ProductInfo;

import java.util.List;

/**
 * @author lifuhei
 * @Description:
 * @date 2018/11/20 10:17
 */
public interface ProductInfoRepository extends JpaRepository<ProductInfo, String> {

    List<ProductInfo> findByProductStatus(Integer productStatus);

    List<ProductInfo> findByProductIdIn(List<String> productIdList);
}
